home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL96.LZH / t0227 / text0036.txt < prev    next >
Encoding:
Text File  |  1996-03-07  |  1.1 KB  |  40 lines

  1. On 27 Feb 1996, Douglas Little wrote:
  2.  
  3. > Ok, I thought I was doing that already, but obviously not. I probably
  4. > just assumed that because everything was truecolour, the palette
  5. > would never change anyway. What are you doing with the palette then?
  6.  
  7. The menus are in bitplanes (because of some bitplane tricks I'm using... 
  8. The selector has a "plasma" style background for example). And I think 
  9. it's better to save and restore the colourmap once instead of evey time 
  10. the menu ruote is called.
  11.  
  12. > > o  When some button is presed (HELP???), the function
  13. > >   do_in_game_menu should be called.
  14. > Ok. I'll do it the same as with the map, so it's called during the
  15. > game loop. Doom does this, although the player control is lost while
  16. > the menu is visible.
  17.  
  18. Yes, I do this by simply changing the VBL ($70) interrupt while the menu 
  19. is active.
  20.  
  21. > > o  do_in_game_menu should be places in a dummy file called menu.s
  22. > >   it should only contain a "rts".
  23. > Fine.
  24.  
  25. Great!
  26.  
  27. > > If you do this, I can simply replace the dummy menu.s with my version all 
  28. > > it will work!
  29. > Ok, I'll do this in the next version.
  30.  
  31. Thank's very much!
  32.  
  33. -- 
  34. Elias Martenson
  35. elias@omicron.se
  36.  
  37.